#ifndef __Player_H__ 
#define __Player_H__ 

#include "cocos2d.h" 
#include "Entity.h"
#include "Tank.h"
USING_NS_CC; 


class Player : public Entity{ 
public:
	Player();
	~Player();

	static Player* create(Node* node);
	static void delPlayer();
	bool init(Node* node);
	virtual bool setTagPosition(float x, float y);
	virtual void setTagRotation(float rotation);
	void setViewPointByPlayer();
	static Player* createFromCsvFileByID(int iPlayerID);
	bool initFromCsvFileByID(int iPlayerID);
	void onDead();
	void hurt(int hurtValue);

	/*
		Some attri of Player
	*/
private:
	static Player* m_player;
}; 


#endif // __Player_H__ 
